<template>
  <ul class="table-header">  
    <li v-for="(item, index) in tableHeader" :key="index">{{item.name}}</li>
  </ul>
</template>
<script>
export default {
  props: {
    tableHeader: Array,
  }
}
</script>
<style lang="less" scoped>
  .table-header {
    color: #D0021B;
    background: #FDF8F8;
    display: flex;
    justify-content: space-around;
    > li {
      padding: 10px 0px;
      text-align: center;
    }
  }
</style>